8130fa4a557ab943473ec09af4e7e3e8597661f8,src/main/java/jas/spawner/legacy/spawner/CustomSpawner.java,CustomSpawner,spawnCreaturesInChunks,#WorldServer#LivingHandlerRegistry#LivingGroupRegistry#CreatureType#HashMap#EntityCounter#EntityCounter#BiomeBlacklist#,182

Before Change


                                        entityliving.setLocationAndAngles(spawnX, spawnY, spawnZ,
                                                worldServer.rand.nextFloat() * 360.0F, 0.0F);

                                        Result canSpawn = ForgeEventFactory.canEntitySpawn(entityliving, worldServer,
                                                spawnX, spawnY, spawnZ);
                                        if (canSpawn == Result.ALLOW
                                                || (canSpawn == Result.DEFAULT && spawnlistentry.getLivingHandler()
                                                        .getCanSpawnHere(entityliving, spawnlistentry))) {
                                            ++j2;
                                            worldServer.spawnEntityInWorld(entityliving);
                                            if (!ForgeEventFactory.doSpecialSpawn(entityliving, worldServer, spawnX,

After Change


                                        entityliving.setLocationAndAngles(spawnX, spawnY, spawnZ,
                                                worldServer.rand.nextFloat() * 360.0F, 0.0F);

										if (spawnlistentry.getLivingHandler().getCanSpawnHere(entityliving,
												spawnlistentry)) {
											++j2;
											worldServer.spawnEntityInWorld(entityliving);
											if (!ForgeEventFactory.doSpecialSpawn(entityliving, worldServer, spawnX,